﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Employee
    {
        public int ID { get; set; }
        public string Name { get; set; }
        public string Department { get; set; }

        public void SayHi()
        {
            Console.WriteLine("我的工号是{0}，我叫{1}，我所在的部门是{2}", this.ID, this.Name, this.Department);
        }

        public Employee()
        {

        }
        public Employee(int ID, string Name, string Department)
        {
            this.ID = ID;
            this.Name = Name;
            this.Department = Department;
        }
    }
}
